<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>注册</title>
		<link rel="stylesheet" type="text/css" href="zhuce.css"/>
		<link rel="stylesheet" type="text/css" href="./iconfont/font/iconfont.css"/>
		<script src="xiangmu.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div class="zhuc">
			<div class="zhuc1">
				<img src="img/yao_logo.png">
			</div>
			<div class="zhuc2">
				<div class="che1">
					<p>Hi,欢迎注册</p>
					<span>我已注册，现在就<a href="">登录</a></span>
				</div>
				<div class="che2">
					<div class="lu1">
						<p class="kuang1">
							<i class="iconfont icon-daohang "></i>
							<input type="" name="" id="sj" placeholder="手机号" />
							</p>
						<span class="show"></span>
						<p class="kuang2">
							<i class="iconfont icon-daohang "></i>
							<input type="" name="" id="ma" placeholder="密码" />
							</p>
						<span class="show"></span>
						<p class="kuang3">
							<i class="iconfont icon-daohang "></i>
							<input type="" name="" id="ma2" placeholder="确认密码"/>
							</p>
						<span class="show"></span><br>
						<em >注册即代表您已同意1药网<a href="">《服务协议》</a>和<a href="">《隐私条款》</a></em>
						<button id="btn" type="button">立即注册</button>
						<p class="ppp">使用合作伙伴账号登录：</p>
						<i class="zhifu">
							<img src="img/未55题-1.jpg">
						</i>
					</div>
					<div class="lu2">
						<img src="./img/ao_logo.png">
					</div>
				</div>
			</div>
			<div class="zhuc3">
				<div class="jie">
					<ul class="guo1">
						<li><a href="">关于111集团</a></li>
						<li><a href="">关于1药网</a></li>
						<li><a href="">关于1药城</a></li>
						<li><a href="">Investor Relaations</a></li>
						<li><a href="">诚聘英才</a></li>
						<li><a href="">直营实体药房</a></li>
					</ul>
					<ul class="guo2">
						<li><a href="">互联网药品信息服务资格证</a></li>
						<li><a href="">互联网药品交易资格证：粤C20150007</a></li>
						<li><a href="">连锁营业执照</a></li>
						<li><a href="">药品营业许可证</a></li>
						<li><a href="">医疗器械许可证</a></li>
						<li><a href="">食品经营许可证</a></li>
					</ul>
					<ul class="guo3">
						<li><a href="">GSP证书</a></li>
						<li><a href="">ICP粤B2-20150066</a></li>
					</ul>
					<p class="wowo1">1药网网上药店，国家药监局认证通过的合法网上药店，中国医药电子商务行业的开拓者领跑者。粤ICP备12015869号-1</p>
					<p class="wowo2">Copyright(C)2010-2015 1药网版权所有<!-- <img src="./img/copy_ico.png"> -->公安备案号440104020000743</p>
				</div>
			</div>
		</div>
		<script src="jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			 $('#btn').click(function(){
				 let username = $('#sj').val()
				 let password = $('#ma').val()
			     let logon = 'http://jx.xuzhixiang.top/ap/api/reg.php';

			      $.get(logon,{username,password}).then((res)=>{

					 alert(res.msg)
			         if(res.code==1){
			             location.href = 'denglu.html';
			         }
			     })
			 })
				
		</script>
	</body>
</html>

